package com.hirsi.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum GenderEnum {

    MAN(0, "男"),
    WOMAN(1, "女");

    @EnumValue
    private Integer value;

    @JsonValue
    private String desc;
}
